
import javax.swing.ImageIcon;
/*
 * Player la cai Ro
 * */
public class Player extends Sprite implements Commons {

	private final int START_Y = G_HIEGHT - PLAYER_HEIGHT - 80;
	private final int START_X = G_WIDTH / 2 - PLAYER_WIDTH / 2;

	private final String player = "Images/Ro.png";
	private int width;

	public Player() {

		ImageIcon ii = new ImageIcon(getClass().getResource(player));

		width = ii.getImage().getWidth(null);

		setImage(ii.getImage());
		setX(START_X);
		setY(START_Y);
	}

}
